<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:sec="http://www.springframework.org/security/tags" 
      >
    <h:head>
        <link type="text/css" rel="stylesheet" href="resources/css/default.css" />     
    </h:head>

    <h:body>
        <sec:authorize access="hasRole('ROLE_ADMIN')">
            <h1>JSF 2.0 + Spring + Hibernate Example</h1>
        </sec:authorize>
        <h:form>
        <p:commandButton action="reg_pacient.xhtml" value="sadasdasd"/>
                <p:commandButton action="2.xhtml" value="sadasdasd" />
                  <h:outputText value="#{param.pname}"/>

<!--        <p:dataGrid var="oper" value="#{operator.getCustomerList()}"  columns="1" paginator="true"  
                    paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rows="5" 
                    paginatorPosition="bottom"  rendered="true">

            <h:outputText value="#{oper.login}" escape="false"/><br/>  
            <h:outputText value="#{oper.password}" escape="false"/>  <br/>
            <h:outputText value="#{oper.departmentsByDepartmentId.name}" escape="false"/> <br/> 

        </p:dataGrid>  -->
</h:form>

    </h:body>

</html>